package com.hst.capacity.domain.model.request;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class OrderParam extends PageParam {

    private String idOrder;
    private String idMember;//下单用户ID 外键会员登录表
    private String idCorporate;//下单用户所属公司ID 外键企业信息表
    private String idServicePriceType;//价格规则表ID 定价规则表外键
    private Integer idServiceType;//订单服务类型
    private Integer idVehicleType;//订单委派车辆类型ID
    private String idLine;//订单执行线路ID
    private String idTask;//拼车任务表ID
    private String regionCode;//运营区域code值,数据来自行政区域信息表

    private String idDriver;//订单委派司机ID 外键司机表
    private String plateNumber;//订单执行车辆车牌号
    private String vehicleColor;//订单执行车辆颜色
    private String vehicleModel;//订单执行车辆型号
    private String vehicleBrand;//订单执行车辆品牌
    private String driverMobile;//司机手机
    private String driverName;//司机称呼
    private String driverLongitude;//司机接受订单时车辆经度
    private String driverLatitude;//司机接受订单时车辆维度

    private LocalDateTime startServiceTime;//服务开始时间
    private LocalDateTime deptime;//上车时间
    private String startAddress;//上车详细地址
    private String startAddressLongitude;//上车经度
    private String startAddressLatitude;//上车维度
    private String endAddress;//预计下车详细地址
    private String endAddressLongitude;//预计下车经度
    private String endAddressLatitude;//预计下车维度

    private String dropOffArea;//实际下车详细地址
    private String dropOffAreaLongitude;//实际下车经度
    private String dropOffAreaLatitude;//实际下车维度
    private LocalDateTime desttime;//下车时间
    private LocalDateTime endServiceTime;//服务结束时间

    private float needPayMoney;


    private String externalOrderId;

    //订单取消
    private int operationType;
    private Integer cancelReasonCode;
    private String cancelReason;
    private String memo;

    private Integer rejectReasonCode;
    private String rejectReason;

    private int moduleType;

}
